package com.px.project.module.it.entity;

import com.px.common.entity.FullBaseEntity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 智能排产》》施工计划》》机械设备分配数据访问对象
 *
 * @author 品讯科技
 * @date 2024-08
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName(value = "it_mechanical_equipment_assign")
public class EquipmentEquipmentAssignDao extends FullBaseEntity {
    private static final long serialVersionUID = 1452045522144953992L;
    /**
     * 业务表ID
     */
    @TableField(value = "object_id")
    private Long objectId;
    /**
     * 机械设备ID
     */
    @TableField(value = "mechanical_equipment_id")
    private Long mechanicalEquipmentId;
    /**
     * 数量
     */
    @TableField(value = "number")
    private Integer number;
    /**
     * 来源类型，3，项目管理，1，周计划，0，月计划，2，修改计划
     */
    @TableField(value = "source_type")
    private Integer sourceType;
}
